﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using COFE.Core.Lister;
using COFE.Core.Entry;

namespace COFE.Core.Profile
{
    public class EntryConstructor : IEntryConstructor
    {
        #region Methods

        public IInternalFileInfoExA CreateFile(string listerKey, IPropertyProvider propProvider, EntryConstructionFlags flags)
        {
            return new FileInfoExA(listerKey, propProvider);
        }

        public IInternalDirectoryInfoExA CreateDirectory(string listerKey, IPropertyProvider propProvider, EntryConstructionFlags flags)
        {
            return new DirectoryInfoExA(listerKey, propProvider);
        }

        #endregion
    }
}
